import { Entity, Column, PrimaryGeneratedColumn } from 'typeorm';

@Entity() // 实体
export class Users {
  @PrimaryGeneratedColumn()
  id: number;
  @Column()
  username: string;
  @Column()
  age: number;
}
